package com.explorati.design_pattern.structural.proxy.example2.dynamicproxy;

import com.explorati.design_pattern.structural.proxy.example2.GamePlayer;
import com.explorati.design_pattern.structural.proxy.example2.IGamePlayer;

public class Test {

	public static void main(String[] args) {
		GamePlayer player = new GamePlayer("李逍遥");

		IGamePlayer proxy = (IGamePlayer) new GamePlayerDynamicProxy(player).bind();
		proxy.killBoss();
		proxy.upGrade();
	}
}
